var express = require("express");
var router = express.Router();
const usersCtr = require("../Controller/users");
/* GET users listing. */
router.get("/", function (req, res, next) {
  res.send("respond with a resource");
});

//注册
router.post("/regist", usersCtr.regist);
//登入
router.post("/login", usersCtr.login);
module.exports = router;
